def create_about_text():
    """创建关于信息的样式文本"""
    from rich.text import Text
    result = Text()
    segments = [
        ("项目名称：", None), ("福禄MUD游戏\n", "bold green"),
        ("版本：", None), ("1.0.0\n", "yellow"),
        ("发布日期：", None), ("2024年\n\n", "blue"),
        
        ("项目描述\n", "bold yellow"),
        ("-----------------\n", "dim"),
        ("这是一个基于Python开发的文字冒险游戏（MUD），以中国古典神话为背景，让玩家在充满仙侠色彩的虚拟世界中探索冒险。\n\n", None),
        
        ("主要功能\n", "bold yellow"),
        ("-----------------\n", "dim"),
        ("- ", None), ("丰富的剧情任务系统\n", "green"),
        ("- ", None), ("独特的修仙升级体系\n", "cyan"),
        ("- ", None), ("多样化的社交互动功能\n", "magenta"),
        ("- ", None), ("动态地图探索系统\n", "blue"),
        ("- ", None), ("实时战斗系统\n\n", "red"),
        
        ("技术栈\n", "bold yellow"),
        ("-----------------\n", "dim"),
        ("- Python 3.8+\n", "green"),
        ("- SQLite 数据库\n", "cyan"),
        ("- WebSocket 实时通信\n", "blue"),
        ("- 异步IO处理\n", "magenta"),
        ("- Textual TUI框架\n", "yellow"),
        ("- Rich 终端渲染\n\n", "red"),
        
        ("作者与维护\n", "bold yellow"),
        ("-----------------\n", "dim"),
        ("作者：", None), ("福禄开发团队\n", "green"),
        ("联系方式：", None), ("contact@fulu-mud.com\n\n", "blue"),
        
        ("版权信息\n", "bold yellow"),
        ("-----------------\n", "dim"),
        ("© 2024 福禄MUD开发组 版权所有\n\n", "cyan"),
        
        ("使用许可\n", "bold yellow"),
        ("-----------------\n", "dim"),
        ("本项目采用 ", None), ("MIT 许可证", "green"), ("。详细信息请参阅 ", None), ("LICENSE", "blue"), (" 文件。", None)
    ]
    for text, style in segments:
        result.append(text, style=style)
    return result

map_config={"名称":{
                "颜色":"",
                "描述":"",
                "环境":"",
                "物品":"",
                "是否可见":"",
                "是否可去":"",
                "命令":"",
                "npc":"",
                "extis":{}
                },
            "名称":{
                "颜色":"",
                "描述":"",
                "环境":"",
                "物品":"",
                "是否可见":"",
                "是否可去":"",
                "命令":"",
                "npc":"",
                "extis":{}
                },
            "名称":{
                "颜色":"",
                "描述":"",
                "环境":"",
                "物品":"",
                "是否可见":"",
                "是否可去":"",
                "命令":"",
                "npc":"",
                "extis":{}
                }
            }


map_text="""
 民宅       玄坛庙
  ｜        ／
西村口－碎石路
            ＼
            碎石路      杂货店   民宅
            ／  ＼        ｜      ｜
         民房   打谷场－碎石路－碎石路－碎石路－东村口
                  ｜      ｜              ｜
                  ｜    铁匠铺           草棚
                  ｜
      小巷尽头  碎石路－前厅－内室
          ＼      ｜
          小巷－碎石路
                  ｜
                碎石路－小土房
                  ｜
                碎石路
                  ｜
                南村口
"""